home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18053 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  789 b 

  1. Path: geraldo.cc.utexas.edu!usenet
  2. From: Raymond Doo <r.doo@mail.utexas.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: Printing from a DLL
  5. Date: Thu, 18 Apr 1996 12:43:45 -0500
  6. Organization: Measurement & Evaluation Center, UT Austin
  7. Message-ID: <31767F51.3E9D@mail.utexas.edu>
  8. NNTP-Posting-Host: riker.mec.utexas.edu
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.01 (WinNT; I)
  13.  
  14. How can I print to a local printer from a DLL?
  15.  
  16. I'm using TextOut to send output to the printer. 
  17. However, the second and subsequent sets of ouput 
  18. are spooled on the hard disk. I noticed that an 
  19. intervening message from a MessageBox would send 
  20. the spooled files to printer.
  21.  
  22. By the way, I'm using Visual C++ 1.5.
  23. Can anybody help?
  24. Thanks.
  25. Raymond
  26.